Use parsemag rather than parseinline since the content will be escaped by Xml::radioL...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 26 Mar 2009 07:57:11 +0000 (07:57 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 26 Mar 2009 07:57:11 +0000 (07:57 +0000)
This breaks French messages since something like "some text here :" will be converted to "some text here&nbsp;:" but Parser::parse() and then escape so the "&nbsp;" will be visible to the user

includes/specials/SpecialContributions.php

index 952a261..e6e263c 100644 (file)
@@ -251,7 +251,7 @@ class SpecialContributions extends SpecialPage {
                        Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) .
                        Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parseinline' ) ), 
                                'contribs', 'newbie' , 'newbie', $this->opts['contribs'] == 'newbie' ? true : false ) . '<br />' .
-                       Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parseinline' ) ), 
+                       Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parsemag' ) ), 
                                'contribs' , 'user', 'user', $this->opts['contribs'] == 'user' ? true : false ) . ' ' .
                        Xml::input( 'target', 20, $this->opts['target']) . ' '.
                        '<span style="white-space: nowrap">' .